package cn.deepxi.org.service;

import cn.deepxi.org.domain.Employee;
import cn.deepxi.org.query.DeptQuery;
import cn.deepxi.org.query.EmpQuery;
import cn.deepxi.utils.QueryResult;

import java.util.List;

public interface IEmpService {

    void add(Employee employee);
    void del(Long id);
    void upt(Employee employee);
    Employee findById(Long id);
    List<Employee> findAll();
    QueryResult<Employee> queryData(EmpQuery query);

    void batchDel(List<Long> ids);
}
